package com.atguigu.gmall.search.entity;

import com.atguigu.gmall.pms.entity.BrandEntity;
import lombok.Data;

import java.util.List;
@Data
public class SearchParamVo {
    //关键字过滤
    private String keyword;
    //品牌过滤
    private List<Long > brandId;
    //商品分类过滤
    private List<Long> categoryId;
    //商品规格参数过滤
    private List<String> prop;

    //排序字段过滤,0表示得分排序，1表示价格降序，2、价格升序，3、销量降序，4、新品降序
    private Integer sort =0;

    //显示有货
    private boolean store ;

    public boolean isStore() {
        return store;
    }

    public void setStore(boolean store) {
        this.store = store;
    }

    //价格区间
    private Double priceFrom;
    private Double priceTo;

    //分页参数
    private Integer pageNum =1;
    private final Integer pageSize =20;







}
